import { createApp } from 'vue';
import App from './App.vue';
import './assets/js/rem';
import { setupStore } from './pinia';
import { setupRoute } from './router';
// import VueAMap, { initAMapApiLoader } from '@vuemap/vue-amap';
// import '@vuemap/vue-amap/dist/style.css';
// initAMapApiLoader({
//     'key': '76e4ab8f449a194323e34d522e9cf620',
//     'securityJsCode': 'f2efe5863fcb9599f5413dfea2d32d09' // 新版key需要配合安全密钥使用
//     //Loca:{
//     //  version: '2.0.0'
//     //} // 如果需要使用loca组件库，需要加载Loca
// });

const app = createApp(App);
// app.use(VueAMap);
setupStore(app);
setupRoute(app);
app.mount('#app')
